<!DOCTYPE html>
<html>
<head>
    <title>平涛</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/weui.min.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/jquery-weui.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/style.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Wechat/css/aui-iconfont.css">

    <style type="text/css">
        .b-t{border-bottom: 1px solid #d9d9d9;padding-top: 10px;}
        .weui_cells{margin-top: -1px !important}
        .cl1{width:80px;height: 20px;background: #eee !important;padding: 5px;margin: 2px;text-align: center; }
        .c-input1{width: 30% !important;}
        .weui_btn{font-size: 14px !important;width: 100px;margin-left: 0px}
        .weui_btn+.weui_btn{margin-top: 5px}
    </style>

</head>


<body ontouchstart>

    <div class="weui_tab">
        <div class="weui_navbar weui_navbar1">
            <div class="weui_navbar_item weui_bar_item_on">
              <div style="text-align:left;float:left">
                <a href='javascript:history.go(-1)'>
                  <span class="aui-iconfont aui-icon-left"></span>
                </a>
              </div>
              <span>客户信息</span>
            </div>
        </div>

        <div class="weui_tab_bd">
            <div class="weui_cells weui_cells_form">
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label class="weui_label">客户名称</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.client_name}
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">店长</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.shop_manager}
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">店庆时间</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.shop_birthday}
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label class="weui_label">负责人</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <volist name="contactList" id="val" empty="无">
                            <a href="{:U('Client/contactDetail',array('id'=>$val['id']))}" class="weui_btn weui_btn_default">{$val.realname}</a>
                        </volist>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label class="weui_label">拜访次数：</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.visit_year_num|default=0} 次/年 &nbsp;
                        {$clientArr.visit_quarter_num|default=0} 次/季度 &nbsp;
                        {$clientArr.visit_month_num|default=0} 次/月
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">备注：</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.remark|default='无'}
                    </div>
                </div>
            </div>

            <div class="weui_cells_title">联系方式</div>
            <div class="weui_cells weui_cells_form">
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">地址</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.location}
                    </div>
                </div> 
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">联系方式</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.tel}
                    </div>
                </div> 
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">QQ</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.qq}
                    </div>
                </div> 
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">微信</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.wechat}
                    </div>
                </div> 
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">Email</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        {$clientArr.email}
                    </div>
                </div> 
            </div>
        </div>
        
        <include file="Index/footer" />
    
    </div>


    <script src="__PUBLIC__/Wechat/js/jquery-2.1.4.js"></script>
    <script src="__PUBLIC__/Wechat/js/fastclick.js"></script>
    <script src="__PUBLIC__/Wechat/js/jquery-weui.js"></script>
    <script>
        $(function() {
            FastClick.attach(document.body);
        });
    </script>

</body>
</html>
